blob: 666aa80c024284c1ec89626dcd02594d1f013554 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<script lang="ts">
import Contact, { type ContactModel } from "$components/contact.svelte";
import type { PageData } from "./$types";
export let data: PageData;
type Model = {
contact: ContactModel;
};
const M: Model = {
contact: data.contact,
};
console.log(data);
</script>
<Contact model={M.contact} />
|